<template>
    <uv-cell-group :border="false" :customStyle="{ background: '#fff', borderRadius: '0rpx' }">
        <uv-cell :border="true" title="县级责任人">
            <template v-slot:value>
                <view>
                    <view class="buleS1">
                        {{ datalist.CountyResponsibleName1 }}
                    </view>
                    <view class="buleS1">
                        {{ datalist.CountyResponsibleName2 }}
                    </view>


                </view>
                <view class="bu" v-if="false">
                    <view class="bule" @click="callPhone(datalist.CountyResponsibleTel1)">
                        {{ datalist.CountyResponsibleTel1 }}
                    </view>
                    <view class="bule" @click="callPhone(datalist.CountyResponsibleTel2)">
                        {{ datalist.CountyResponsibleTel2 }}
                    </view>
                </view>
            </template>
        </uv-cell>
        <!-- <uv-cell :border="true" title="联系电话">
						<template v-slot:value>
							<view class="bule" @click="callPhone(datalist.CountyResponsibleTel1)">
								{{ datalist.CountyResponsibleTel1 }}
							</view>
							<view class="bule" @click="callPhone(datalist.CountyResponsibleTel2)">
								{{ datalist.CountyResponsibleTel2 }}
							</view>
						</template>
					</uv-cell> -->

        <uv-cell :border="true" title="乡镇责任人" :value="datalist.TownResponsibleName"></uv-cell>
        <uv-cell :border="true" title="联系电话">
            <template v-slot:value>
                <view class="bule" @click="callPhone(datalist.TownResponsibleTel)">
                    {{ datalist.TownResponsibleTel }}
                </view>
            </template>
        </uv-cell>
        <uv-cell :border="true" title="技术单位" :value="datalist.TechUnitName"></uv-cell>
        <uv-cell :border="true" title="技术负责人" :value="datalist.TechUnitPerson"></uv-cell>
        <uv-cell :border="true" title="联系电话">
            <template v-slot:value>
                <view class="bule" @click="callPhone(datalist.TechUnitPersonTel)">
                    {{ datalist.TechUnitPersonTel }}
                </view>
            </template>
        </uv-cell>
        <uv-cell :border="true" title="抢险救援单位" :value="datalist.RescueUnitName"></uv-cell>
        <uv-cell :border="true" title="抢救负责人" :value="datalist.RescueUnitPerson"></uv-cell>
        <uv-cell :border="true" title="联系电话">
            <template v-slot:value>
                <view class="bule" @click="callPhone(datalist.RescueUnitPersonTel)">
                    {{ datalist.RescueUnitPersonTel }}
                </view>
            </template>
        </uv-cell>
        <uv-cell :border="true" title="医疗救援单位" :value="datalist.MedicalUnitName"></uv-cell>
        <uv-cell :border="true" title="医疗负责人" :value="datalist.MedicalUnitPerson"></uv-cell>
        <uv-cell :border="true" title="联系电话">
            <template v-slot:value>
                <view class="bule" @click="callPhone(datalist.MedicalUnitPersonTel)">
                    {{ datalist.MedicalUnitPersonTel }}
                </view>
            </template>
        </uv-cell>
    </uv-cell-group>
</template>

<script lang="ts" setup>
import { callPhone } from '@/utils/util'

const datalist = ref<any>({})
onLoad((e) => {
    datalist.value = JSON.parse(e.data)
})
</script>

<style lang="scss" scoped>
//</style>
